Optimal. Leaf size=117 \[ -\frac {a^5 A}{17 x^{17}}-\frac {a^4 (a B+5 A b)}{15 x^{15}}-\frac {5 a^3 b (a B+2 A b)}{13 x^{13}}-\frac {10 a^2 b^2 (a B+A b)}{11 x^{11}}-\frac {b^4 (5 a B+A b)}{7 x^7}-\frac {5 a b^3 (2 a B+A b)}{9 x^9}-\frac {b^5 B}{5 x^5} \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {448} \begin {gather*} -\frac {10 a^2 b^2 (a B+A b)}{11 x^{11}}-\frac {a^4 (a B+5 A b)}{15 x^{15}}-\frac {5 a^3 b (a B+2 A b)}{13 x^{13}}-\frac {a^5 A}{17 x^{17}}-\frac {5 a b^3 (2 a B+A b)}{9 x^9}-\frac {b^4 (5 a B+A b)}{7 x^7}-\frac {b^5 B}{5 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 448
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^{18}} \, dx &=\int \left (\frac {a^5 A}{x^{18}}+\frac {a^4 (5 A b+a B)}{x^{16}}+\frac {5 a^3 b (2 A b+a B)}{x^{14}}+\frac {10 a^2 b^2 (A b+a B)}{x^{12}}+\frac {5 a b^3 (A b+2 a B)}{x^{10}}+\frac {b^4 (A b+5 a B)}{x^8}+\frac {b^5 B}{x^6}\right ) \, dx\\ &=-\frac {a^5 A}{17 x^{17}}-\frac {a^4 (5 A b+a B)}{15 x^{15}}-\frac {5 a^3 b (2 A b+a B)}{13 x^{13}}-\frac {10 a^2 b^2 (A b+a B)}{11 x^{11}}-\frac {5 a b^3 (A b+2 a B)}{9 x^9}-\frac {b^4 (A b+5 a B)}{7 x^7}-\frac {b^5 B}{5 x^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 117, normalized size = 1.00 \begin {gather*} -\frac {a^5 A}{17 x^{17}}-\frac {a^4 (a B+5 A b)}{15 x^{15}}-\frac {5 a^3 b (a B+2 A b)}{13 x^{13}}-\frac {10 a^2 b^2 (a B+A b)}{11 x^{11}}-\frac {b^4 (5 a B+A b)}{7 x^7}-\frac {5 a b^3 (2 a B+A b)}{9 x^9}-\frac {b^5 B}{5 x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a+b x^2\right )^5 \left (A+B x^2\right )}{x^{18}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 121, normalized size = 1.03 \begin {gather*} -\frac {153153 \, B b^{5} x^{12} + 109395 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{10} + 425425 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{8} + 696150 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{6} + 45045 \, A a^{5} + 294525 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} + 51051 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2}}{765765 \, x^{17}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.30, size = 127, normalized size = 1.09 \begin {gather*} -\frac {153153 \, B b^{5} x^{12} + 546975 \, B a b^{4} x^{10} + 109395 \, A b^{5} x^{10} + 850850 \, B a^{2} b^{3} x^{8} + 425425 \, A a b^{4} x^{8} + 696150 \, B a^{3} b^{2} x^{6} + 696150 \, A a^{2} b^{3} x^{6} + 294525 \, B a^{4} b x^{4} + 589050 \, A a^{3} b^{2} x^{4} + 51051 \, B a^{5} x^{2} + 255255 \, A a^{4} b x^{2} + 45045 \, A a^{5}}{765765 \, x^{17}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 104, normalized size = 0.89 \begin {gather*} -\frac {B \,b^{5}}{5 x^{5}}-\frac {\left (A b +5 B a \right ) b^{4}}{7 x^{7}}-\frac {5 \left (A b +2 B a \right ) a \,b^{3}}{9 x^{9}}-\frac {10 \left (A b +B a \right ) a^{2} b^{2}}{11 x^{11}}-\frac {5 \left (2 A b +B a \right ) a^{3} b}{13 x^{13}}-\frac {A \,a^{5}}{17 x^{17}}-\frac {\left (5 A b +B a \right ) a^{4}}{15 x^{15}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.14, size = 121, normalized size = 1.03 \begin {gather*} -\frac {153153 \, B b^{5} x^{12} + 109395 \, {\left (5 \, B a b^{4} + A b^{5}\right )} x^{10} + 425425 \, {\left (2 \, B a^{2} b^{3} + A a b^{4}\right )} x^{8} + 696150 \, {\left (B a^{3} b^{2} + A a^{2} b^{3}\right )} x^{6} + 45045 \, A a^{5} + 294525 \, {\left (B a^{4} b + 2 \, A a^{3} b^{2}\right )} x^{4} + 51051 \, {\left (B a^{5} + 5 \, A a^{4} b\right )} x^{2}}{765765 \, x^{17}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.09, size = 122, normalized size = 1.04 \begin {gather*} -\frac {\frac {A\,a^5}{17}+x^8\,\left (\frac {10\,B\,a^2\,b^3}{9}+\frac {5\,A\,a\,b^4}{9}\right )+x^4\,\left (\frac {5\,B\,a^4\,b}{13}+\frac {10\,A\,a^3\,b^2}{13}\right )+x^2\,\left (\frac {B\,a^5}{15}+\frac {A\,b\,a^4}{3}\right )+x^{10}\,\left (\frac {A\,b^5}{7}+\frac {5\,B\,a\,b^4}{7}\right )+x^6\,\left (\frac {10\,B\,a^3\,b^2}{11}+\frac {10\,A\,a^2\,b^3}{11}\right )+\frac {B\,b^5\,x^{12}}{5}}{x^{17}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 94.11, size = 134, normalized size = 1.15 \begin {gather*} \frac {- 45045 A a^{5} - 153153 B b^{5} x^{12} + x^{10} \left (- 109395 A b^{5} - 546975 B a b^{4}\right ) + x^{8} \left (- 425425 A a b^{4} - 850850 B a^{2} b^{3}\right ) + x^{6} \left (- 696150 A a^{2} b^{3} - 696150 B a^{3} b^{2}\right ) + x^{4} \left (- 589050 A a^{3} b^{2} - 294525 B a^{4} b\right ) + x^{2} \left (- 255255 A a^{4} b - 51051 B a^{5}\right )}{765765 x^{17}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________